-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: explicitly specify column groups for storage v2 api #39790
Conversation
e6e95cd
to
d3a7dde
Compare
@shaoting-huang E2e jenkins job failed, comment |
@shaoting-huang go-sdk check failed, comment |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #39790 +/- ##
===========================================
+ Coverage 69.61% 80.59% +10.97%
===========================================
Files 307 1468 +1161
Lines 27491 205533 +178042
===========================================
+ Hits 19139 165642 +146503
- Misses 8352 33872 +25520
- Partials 0 6019 +6019
|
@shaoting-huang go-sdk check failed, comment |
1 similar comment
@shaoting-huang go-sdk check failed, comment |
9718911
to
60a0c6f
Compare
@shaoting-huang cpp-unit-test check failed, comment |
1 similar comment
@shaoting-huang cpp-unit-test check failed, comment |
@shaoting-huang cpp-unit-test check failed, comment |
@shaoting-huang go-sdk check failed, comment |
@shaoting-huang cpp-unit-test check failed, comment |
@shaoting-huang E2e jenkins job failed, comment |
@shaoting-huang go-sdk check failed, comment |
1ee5374
to
9766510
Compare
@shaoting-huang E2e jenkins job failed, comment |
@shaoting-huang cpp-unit-test check failed, comment |
/run-cpu-e2e |
rerun cpp-unit-test |
@@ -95,6 +95,7 @@ typedef struct CStorageConfig { | |||
bool useVirtualHost; | |||
int64_t requestTimeoutMs; | |||
const char* gcp_credential_json; | |||
bool use_custom_part_upload; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any chance that use_custom_part_upload
can be false? We can remove it from StorageConfig if it is actually not configurable.
CleanLocalArrowFileSystemSingleton() { | ||
milvus_storage::ArrowFileSystemSingleton::GetInstance().Release(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to have two separate CleanXXX functions
field2Col: field2Col, | ||
}, nil | ||
} | ||
|
||
func NewPackedDeserializeReader(path string, schema *schemapb.CollectionSchema, | ||
bufferSize int, pkFieldID FieldID, | ||
func NewPackedDeserializeReader(paths []string, schema *schemapb.CollectionSchema, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a 2D array paths to support chunking.
if status != 0 { | ||
return errors.New("PackedWriter: failed to write record batch") | ||
if err := ConsumeCStatusIntoError(&status); err != nil { | ||
return err | ||
} | ||
|
||
return nil | ||
} | ||
|
||
func (pw *PackedWriter) Close() error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In some cases, we need to collect necessary stats and flush them on Close
. We can add such support in future PRs.
@shaoting-huang cpp-unit-test check failed, comment |
@shaoting-huang E2e jenkins job failed, comment |
1 similar comment
@shaoting-huang E2e jenkins job failed, comment |
@shaoting-huang cpp-unit-test check failed, comment |
Signed-off-by: shaoting-huang <[email protected]>
c87cafc
to
d8aec30
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shaoting-huang, tedxu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
related: [Feature]: storage v2 support #39173